package org.jupiter.blog.authentic.dto;

import java.io.Serial;
import java.io.Serializable;

public class LoginRequestDto implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private String username;
    private String password; // RSA encrypted from frontend

    public LoginRequestDto() {
    }

    public LoginRequestDto(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}


